F-35s are restricted from flying within 25 miles of a thunderstorm as lightning strikes cause severe damage to the plane’s systems. “…in July 2021 when two F-35Bs flying out of their airbase in Japan were forced to execute emergency landings after they both suffered millions of dollars worth of lightning damage in the same storm.”

Source