According to the news, the rebels apparently mistook it as a military plane. They thought they were shooting down a unit transport plane from the Ukraine's army. That's not good either, but at least the commercial plane had nothing to do with their war.
Malaysia Airlines apparently flies that route near-daily though. I have some doubts that they'd mistake it for anything other than the like clockwork Malaysian flyover.