That's assuming the quality and quantity of missiles are the same.Now both China and the United States have the ability to launch missiles to saturate surface ships at a long distance, and the future development direction is also more and more out-of-area attacks. So the survivability of surface ships will become worse and worse in the future
The problem is that the United States does not need to let the fleet enter the combat zone, and the United States can let the fleet hide far away. But China cannot let the fleet hide far away. If it wants to land in Taiwan, the fleet must enter the combat zone. This is a very difficult problem to solve
Another problem is that if China and the United States fire missiles at each other, China will suffer more.
China will hit the important cities of whoever aids US aggression. Thus massively damaging US' economy, especially since like 95% of semiconductors are imported from Asia.Because the United States can hit important coastal cities in China, while China can only hit American islands in the Pacific.
But the equipment level isn't the same. One side can make way way more missiles/seaborne drones.These small islands are basically military bases and have little economic value. So the degree of loss on both sides is different
So even if the equipment level of China and the United States is the same, the United States still has an asymmetric advantage
If you're US planning an attack on Taiwan, you're faced with two different options that are each very disadvantageous in their own way:
1. Somehow involve tons of Asian countries in the attack. In response, China will massively bomb those areas and then counterinvade. To have a hope of preventing that, US must institute a general draft and then land in Asia with huge amounts of war material (how will it be produced?), using its own forces (and most vitally, air defenses) to protect Asian cities.
2. Go at it alone. You however only have up to a dozen bases at most. All your war materiel needs to be routed through these limited logistics chokepoints.
The reason US has not attacked yet is because these are pretty severe problems that their strategists can't solve. Mind you these were issues that US faced even back in the third Taiwan strait crisis.