Paying attention to bird behavior is a big part of birding. I'd take a guess that this bird was wagging its tail up and down, something an Eastern Kingbird wouldn't do.
Carolina Wrens are known for roosting in the corners of buildings with their back feathers puffed out like this. Remember to include location so we can rule out other species.