This has happened to me a handful of times too. The enemy attacks instead of my character. I'm very sure I was not accidentally triggering an AOO either, as it has happend when a character runs up to the enemy to attack and the enemy gets the swing instead.