A) 4 goals is less than 7.
B) Mbappe had 2 man of the match performances compared to Messi's 5
C) Messi had 3 assists (including a couple of possible iconic ones) to Mbappe's zero
D) Messi scored 2 goals in the final to Mbappe's one
E) Mbappe had another player in his team who scored as many goals, got more MOTM awards (including the award in the final), was considered France's best player and did better in that year's Ballon D'Or voting than Mbappe. None of that applies to Messi.
F) Messi generally was playing for a team with fewer star players than Mbappe and had much greater influence on the overall team.
G) Aside from all that, yes it's exactly the same situation