Sometimes, one gets a little cranky - but not often. Early on, if one happened to be an unstable boat, perhaps with a v-shaped or u-shaped cross-section and a shallow draft, one would quite naturally be described as a cranky vessel - unsound and even dangerous.
Makes sense, especially if your passengers and crew end up in the drink, which they often did because, in even a light blow, with an inattentive skipper, cranky vessels would capsize and turn turtle readily surrendering their passengers and crew to Davey Jones. The word tippy, as in tippy canoe, also comes to mind, if you get my drift. Don't rock the boat, baby.
In more recent times, the term, cranky, was employed to describe the maddeningly foul mood of pioneering Australian shepherds who were being driven insane because they couldn't keep their straggling sheep from falling prey, in scrubby forested areas, to the Australian dingo. At least, that's one story. Cranky serves as a metaphor. Don't you just love maritime metaphors?
Today, the term's used to describe anyone grumpy enough to fanatically patrol even the smallest section of proverbial scrub and lash out like a junkyard dog at even the smallest intrusion. So, now, need I say it? "Get OFF my lawn!"