That is a horrible example by the OP because Black's play sucks! You do not develop the Knight early to c3 (white) or c6 (black) when dealing with QP openings.
A better example is in the Caro-Kann Defense, and the reason is self explanatory, and the key difference between the Caro-Kann and the French.
1.e4 - Black needs to contest the center so as not to allow White totsl domination. He can play for control of d4 with 1...e5 or 1...c5, where if White plays d4, Black will take so as not to give White central domination.
The other option is to play for ...d5, but a prep move is needed so that if White takes on d5, Black can recapture with his pawn and not his Queen, bringing out the Queen to early.
However, how do you prep it? Here inlies the difference between the French and the Caro-Kann.
French - Black plays 1...e6 to prep 2...d5. The cost of this is that White can block the e6-pawn, which will hem in the Bishop behind his own pawn chain. In return, once White advances e5, whether it be move 3, move 4 in the Winawer, move 4 in the Tarrasch, or move 4 in the Steinitz, Black can contest the pawn in the back (d4) with the move c7-c5 in one go.
The Caro-Kann, 1...c6, also covers the d4-square, and leaves the Bishop open to develop outside the pawn chain with ...Bf5 or ...Bg4. The cost of this is 2-fold. Light squares on the Queenside, particularly the e6-pawn, are weak and the also, Black has almost no counterplay without ...c5 played to hit the White center, but in return for getting the Bishop out, Black had to spend 2 moves on the c-pawn to get to c5.
This is why you sometimes see a pawn move one square twice within the first 10 moves.
I am not sure if there is a name for this, but there should be. I'll call it a "double step". This is where you initially move a pawn one square in the beginning and soon after you move it again breaking the beginner's rule of not moving the same piece twice early on in a game. If this does not apply to all pawns, then I am specifically talking about the d and e pawns at least.
In the following position, Stockfish shows e6 is the best move. Then, it shows e5 later. So, what new rules/guidelines can you use to break the beginner rule to not to play the same piece twice early on in a game?