Usually the lining of nasal cavity, sinuses are covered with mucous membrane which secrets mucous to moist the tissue.
In certain cases especially when you have any allergy
, cold or when you breathe alot from mouth mucous usually comes through mouth. Please see if you have any of such issues.
For cold use otrivin
spray at night.
There is nothing to worry other wise.