I had the same problem and I figured out I could not submit a new build because the previous one was still submitted for review.
So you need to ensure that your previous build is not submitted for a review yet. Then you can remove the build and upload a new one.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: