When the sinuses are inflamed, the mucus becomes thicker and is unable to pass through the openings, therefore, accumulating in the sinuses.