When you use centralized exchanges, you are exposed to custodial risk. Custodial risk is the risk you take when you allow someone to have control of the private keys to your funds. Centralized exchanges have three main risks:
The exchange gets hacked.
The exchange runs away with your funds (an “exit scam”).
A regulatory crackdown causes your funds to be frozen or unaccessible.