When black moves this pawn forward
The Knight has to move
Which exposes the Kingside to an attack
Stopping this attack with the pawn is not possible
Because Black can just takes the pawn
So White has to move the King aside
And lose the right to castle