I was wandering around the Rift, and was attacked by three trolls. After buffing my follower with Courage I look around to see the three legion soldiers I had passed by a moment ago joining the fight. I figured what the heck, they're helping, buffs for everybody! Next thing I know I'm getting gang-[censored] by a troll and the legion soldiers. I'm surprised nobody's attacked me yet for healing them.
I assume it was because the soldiers were "potential enemies" like giants, who only attack if you get too close (or shoot off a magelight too close to them, FYI). I really love the way they have different enemy responses in Skyrim, with enemies that attack on site and enemies that need to be provoked, but really now! You're in a fight with a monster, a traveller casts a spell at you which invigorates you and makes you feel stronger, and your first reaction is to pepper him with arrows? I might be able to believe that from a bandit, but a soldier? Freaking yikes.
I once encountered a lone Imperial soldier (his two comrades had already died) fighting a losing battle against three Forsworn. Determined to save him, I rushed into the battle and used a mass paralysis scroll, which paralyzed everyone including the Imperial soldier. That way, I could summon a Dremora and start bashing the paralyzed Forsworn. It turned out to be the winning edge, and the Imperial soldier survived while the Forsworn was slain.
You'd think the Imperial soldier would be thankful after I saved his life, but no, the first thing he apparently did was to put a 40 gold bounty on my head.

So much for gratitude.