It may be a "honeypot": a contract that lets you buy but blocks or heavily taxes selling.
The token's code blocks selling for everyone except the creator. You see your balance rise but cannot exit. Analysis tools can detect this type of trap, without being infallible.
You buy $100 of a token; when selling, the transaction fails every time.
Always test with a very small amount before investing more.
Buying without reading a contract analyser's warnings.
If you cannot sell, your gain does not exist.
Related mission : Mint, freeze, taxes and honeypots
Practise on Doji Academy