Why does my backend work on AWS without a TURN server, but needs one on GCP?

I have a MediaSoup backend setup that works fine on AWS without configuring a TURN server.
However, when I deploy the same setup to GCP, peer connections fail unless I configure a TURN server. Can anyone explain the reason behind it?

Check the GCP networking config, more specifically the firewall configuration - is it allowing a connection on the mediasoup ports from any address?

I’ve opened both TCP and UDP connections for the port range 40000–49999.