the reason for your question is because the centralization exchange (cex) first appeared before the Decentralization Exchange (dex), if if first the DEX appeared first I am sure many people would prefer DEX over CEX now,
if DEX is already many and famous then I'm sure many people will switch to DEX later.