Coughing can worsen at night due to postnasal drip, lying down, or irritation from allergens in the bedroom. Additionally, dry air in the bedroom can exacerbate throat irritation and trigger coughing.