A strong navy needs a strong industrial base. So the USA industrial base is no match for the Chinese industrial base.
Sure that’s one of the keys, along with others such as technology, training, experience etc.
The US advantage in those areas are far ahead of the slight advantage China has in manufacturing.