Mention the Fact that the Navy has fewer pilots makes it more competitive to become a pilot in the Navy and they thus have a lower acceptance rate than the Air Force.
Air Force also flies a lot of missions that are logistical. So big cargo planes. It’s not like all pilots in the Air Force are fighter pilots. Same goes for the Navy but he percentage of fighter pilots is probably higher in the Navy.
Landing and taking of on aircraft carriers is about as cool as it gets, which is likely why Top Gun was chosen for the movies. Navy pilots are seen as the first to the fight and most likely to be dogfighting which is a big part of the movie. Air Force has a lot more long range bombers and other types of aircraft but doesn’t get the landing on ships thing.