Yes. In my case, my mood disorder was causing irritability. Many disorders can cause it (e.g., MDD, BPD, IED).
OP, I’d suggest an appointment with a specialist if everything else has been ruled out; everything else includes bad sleep habits, bad eating habits, physical illnesses, etc.