(as) cross as a bear with a sore head
Exceptionally irritable, annoyed, or grumpy. John is always cross as a bear with a sore head first thing in the morning; it's best not to even talk to him until he's had his coffee. Janet was as cross as a bear with a sore head when she found out she had missed her connecting flight.