@Reece692112Do you mean pass interference, illegal contact, or defensive holding?
The reason I ask is because it's only Pass Interference when the ball is in the air; where illegal contact can be called when the contact happens more than 5-yards beyond the line of scrimmage, and defensive holding can be called anywhere the receiver is held (illegally) on the field. Pass interference is a spot foul, while the other two are both 5-yards and automatic 1st down.
In Madden, you have to be playing on 'Simulation' mode for some penalties to be called. If you're playing online, the game is set to 'Competitive.' On competitive, PI isn't called unless the defender tackles the receiver with the ball in the air.
Hope this helps,
Later