How are squeaky toys made?

You answered your own question, it’s blow molding. Soft elastomer materials are pretty easy to yank tools out of, especially if the material is still warm. Theres also collapsing cores and other options.

If you have a particular part that is confusing you, post a picture.