Every pawn move creates weaknesses :)
Pushing pawns and attacking pieces is something that beginning chess players like to do. Later on we learn that pushing pawns too far and too often can have a boomerang effect.
For example, see this well know Caro-Kann position :
White has a space advantage there, but the far advanced h5 pawn can become weak in the endgame.
I just had two games in a tourney where my opponents playing 0-0, and then started to push pawns in front of their king, and then ... opening the h file, while my king had not castled.
A bit of a risky strategy. Let's have a look.