Middle English sire addressed a man of authority. Serreli, probably formed from that title, described lordly or imperious behaviour. Surly developed the familiar suggestion of grumbling rudeness.
The derivation from sire is probable. The story describes associations in the word’s history, not a claim about the behaviour of every person of rank.
Sources
- Merriam-Webster: surly
The etymology and edited usage discussion identify the probable sire/serreli formation and the lordly, imperious and rude range.
- Merriam-Webster: sire
Word History gives the lord or feudal-superior sense behind the English title.