Because if the US did this by itself, all of our crown jewel companies might leave. So the agreement is an attempt to prevent that from happening.
It could still happen. Maybe Amazon would move to the Bahamas, or any other country that doesn't sign the agreement. But the hope is that if most industrialized countries sign on, then that risk would be minimized.