When you looked at the actual transcriptions, you should have seen that the transcriptions of the sounds represented by the letter p in the words were not the same. Take a look at the words with their transcriptions:
As you can see in the chart above, the letter p is transcribed in three ways:
You can demonstrate how these sounds are different on your own. Take your hand and place it in front of your mouth. Now say pat.
Did you feel the air against your hand? Now say spat.
When you say pat, you should feel more air against your hand than when you say spat. That extra puff of air is known as aspiration, and is represented in the transcription by the superscript "h".
Now, often, when one says tap, tip or top, there is no release of the "p" sound, and no air is present when the sound is articulated. This is known as an unreleased sound, represented by the "
" next to the sound.
Spectrograms