Trophies can be lost in the following ways:

If a player challenges you and wins the battle, they will steal a certain amount of your Trophies.

If you challenge a player and lose the battle, you will lose a certain amount of Trophies.

In top leagues, Trophies will be reset at the beginning of each season so that everybody in the league will start with the same amount.