She appeared in supporting roles in earlier films like Fast & Furious series (Fast & Furious 2009, Fast Five, Fast & Furious 6), but in those she wasn’t the primary lead. So those didn't make her famous. Had the lead in Death in the Nile and Red Notice. Did anyone see those? Her only movie that was a big hit and she was a "lead actor" was
Batman v Superman: Dawn of Justice (2016). According to Screen Rant, in the Ultimate Edition of the film, Gal Gadot’s Wonder Woman has significantly less screen time than the two male leads. Screen time: Very limited; sources suggest around 14–15 minute. So really, not many people would have noticed her save the 2 Wonder Woman movies.
And in the second one, both the movie and her acting were panned. Hard to believe she earned a star on the Hollywood walk of fame on the basis of 2 comic book movies.