Many reasons. Squeaking for food is normal (i. e. when the fridge opens or they hear the hay bag rustling). They might also call to another pig if they are separated from them. Squeaking in pain, e. g. while peeing or pooping, is a sign of illness (UTI/stones). Take your pet to an EXOTICS (not ordinary) vet if you notice painful squeaking.