This could be mucus from nose and throat.Actually mucus drips from nose into throat and gets collected there then in morning or after getting up you feel to clear it,and in hawking the mucosa gets injured and bleeds.
Take these medicines-
Tab. Mucinac 600 once daily
Tab. Ebastine/Loratidine +Phenylephereine /pseudoephedrine
nose drops 2 drops both nostril 2 times a day for 5 days only
Physiomer normal saline nasal spray
2 puffs both nostril 2 times a day
follow up after 5 days.