Why Do Pitbull Ears Stand Straight Up?

Pitbulls are popular for their muscular bodies and pointy ears. But what exactly is the reason why Pitbull ears stand straight up? Overall, some Pitties have pointy ears while others have floppy lobes