cantankerous

(adj) difficult or irritating to deal with   
My Dad becomes cantankerous when he doesn't get enough sleep.