You just observed that P and S wave behavior is different
in solids and liquids. P waves travel through both solids
and liquids. S waves travel through solid material,
but they cannot travel through liquids. This difference
can be used to tell which parts of Earths interior
are solid and liquid.
Another difference in P and S waves is their speed.
You saw that P waves travel faster than S waves. Also,
P waves travel faster through solids than through liquids.
Thus, the difference in the amount of time it takes
for P and S waves to travel through Earths interior
provides information about the type of material through
which the waves pass.