They do realize that and that's their whole problem. Payback's a $itch and Muslims of any persuasion have no mercy on each other.
They're still stupid bullies, though, and are trying to bluster their way through. The sins they've committed on other Iraqis make them terrified of retribution by a non-Sunni government.
You're right, and not limited to Muslims.