The mode of blood on spitting apparently appears to be from gums which may be having gingivitis
as your x ray
is normal so the other possibility of tuberculosis
stands ruled out. Hyperacidity
has no such tinge of blood as a symptom. Use of yogurt or garlic is not recommended in hyperacidity as a cure, in fact for having temporary symptomatic relief cold milk acts good. The cause of hyperacidity need be removed first. Brush your teeth every time after meals. Mixture of turmeric and salt can be rubbed on gums to restrict bleeding.
Wish you best of health.