In 2008, Codemasters acquired the license to create the official F1 games, which was carried over to EA Sports after it acquired the studio. However, the long-standing partnership could end after the 2025 season.
Source: N4G PC Could EA Sports Lose The F1 License After 2025?