Movies where the actor playing the male lead is too young while the female lead is the right age

The opposite is too common to be notable.
The only example I can recall is Top Gun. Tom Cruise had not quite turned 23 when filming began, too young to be a naval aviator with several years experience. Kelly McGillis was about the same age as the real person who her character was based on.
In fact all the male characters were played by actors who were too young to be in the position they were in, except maybe the School commander.

In the first or second Star Wars prequels the kid who played Anakin seemed way too young to be an already adult Natalie Portman’s eventual love interest (Queen Amygdala her character name? Wasn’t a huge fan).

Natalie Portman was 17 when the first Star Wars movie came out and Jake Lloyd was 10. I don’t think Queen Amidala considered Skywalker as a love interest in the first movie but by the second movie both characters were old enough to where it was fine.