There isare two alternatvesalternatives here,your: your cat havehas a bad tooth and the infection (and pain)makes makes eating problematic.
Or your cat havehas got a scratch that havehas become infected giving your cat pain when he tries to eat,The. The infection itself might make your cat ill so he is loosing his appetite.
It looks like your cat havehas got an abcess this. This is very common in cats and your vet will need to open it up and flush it clean with salt water,if. If this is from a scratch your cat will probably notwon't need antibiotics.
If it comes from a bad tooth your vet will remove the tooth and give your cat antibiotics and a painkiller.
Please do not worry, this is easy to fix for your vet,i am. I'm sure this is less serious than you might think.