Welcome to HealthcareMagic forum.
From what you describe, your father probably may be having some liver and gastric issues; gastritis
or ulcer are strong possibilities. In addition presence of cough and spitting up blood is an omnious sign.
It needs to be addressed as early as possible. Avoid giving anything that is hot and spicy. Avoid using any medical drugs without the consent of your doctor. Antiulcer drugs like Omeprazole
which is available over the counter as Prilosec OTC can be very helpful here. You can take a pill a day before breakfast for a few days.
I hope your father is well now. However, I encourage you to visit your gastroenterologist if you haven't met one yet for a careful examination and evaluation. He needs some blood test
examination to narrow down the cause.
Hope this helps.
Wish your father speedy recovery.