There's a hidden attribute that each player has, it controls how often a player is involved in situations where fouls happen.
As I said, that skill is hidden but if yuo look at players' stats, it's often quite obvious which players tend to foul more than others...
Also being a bad defender leads a player to commit more fouls.
We have both said a lot of things that you are going to regret.