This is the 1st Star Trek movie in 'For All Mankind'
FAM show runner and ex Trek writer Ronald D Moore explains
https://screenrant.com/star-trek-for-all-mankind-only-3-shows/share
The original Star Trek went off the air before the Apollo II landing. [...] In my version of history, Paramount does make the Phase II show in the mid-seventies. And then they transitioned into Wrath of Khan and not Star Trek: The Motion Picture, because of the run of the lengthy and glorious, and critically acclaimed run of Phase II, it’s a year later that The Wrath of Khan comes out. But it’s still The Wrath of Khan that we know and it was essentially the same story. I love The Wrath of Khan and I couldn’t bear to change that. So it’s the same thing.”