If you archive and upload from Xcode locally TestFlight will accept the build. It seems like something happened on Xcode Cloud that is requiring the new Xcode builds but they didn't make the latest Xcode and macOS betas available there yet.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags: