Stiffly derives from Middle English stifly with the Middle English adverbial suffix -ly, from Old English -līċ and līką, ultimately from Proto-Indo-European steyp- meaning to compress or press together.
stiffly (English): In a stiff manner