Surlily has 2 different meanings across 1 category:
Adverb
in a churlish manner
"the store owner treated his customers churlishly"
In a surly manner.