s just flecks of blood it could be that your sinuses are irritated and/or very dry, Blowing your nose too hard can rupture the tiny blood
your nose, drips down your throat
and it gets coughed up with the stagnant mucus in the morning. Try a humidifier in your bedroom if your climate is dry, or use Ocean Spray during the day, wait a few minutes then blow your nose gently.
If you're coughing up more than a half cup of blood see your doctor asap.