Pigs don't necessarily want one specific thing when they squeal. Squealing is a form of communication that can express different feelings and needs.
What Squeals Can Mean
Piglets often squeal when they are happy and playing. A pig may squeal as a warning if it feels threatened. Squealing can also be a call for attention, food, water, or affection.
There isn't one single answer—squeals are simply how pigs express themselves.