A lady's boudoir is where she sulks.
Once upon a time there was a French word bouder meaning to sulk or pout and boudoir is simply the sulk-room, like a panic-room but much moodier.
Bouder is probably imitative of puffing your cheeks out, because melancholy is so often accompanied by windy suspirations of forced breath. In exasperation you puff out your cheeks, then you blow the air outwards, perhaps biting your lower lip and making an ffff sound. The whole sound could be transcribed as huff, hence being in a huff.
For I had then laid wormwood to my dug,
When it did taste the wormwood on the nipple
Of my dug and felt it bitter, pretty fool,
To see it tetchy and fall out with the dug!
Incidentally, wormwood has nothing to do with either worms or wood. If you put wormwood into alcohol a chemical called thujone is released which is a rather effective painkiller. The old Germans referred to it as man-courage or wer-mut. Wer was man - as in werewolf or man-wolf - and mut was courage as in modern English mood.
Now go and read this poem and cheer up.