If your cat suddenly stops eating cat treats, it's because it's not feeling well, possibly due to indigestion. This can affect its appetite. You can give it some probiotics to help with digestion.

It's also possible that the environment affected the cat's appetite. Cats in unfamiliar environments tend to have a decreased appetite. You can feed it again once it gets used to the environment.