Vet at FirstVet answers:
Your cat may be unwell from a viral infection or could be suffering from something more sinister such as kidney disease.
Try offering your cat different types of food to see if it will eat. If your cat still refuses to eat or drink you need to seek veterinary care. Cats that don’t eat can quickly develop liver problems, which can be fatal.