Most people will probably say the key difference is that the US incident was a mistaken attempt to defend an imminent attack, rather than a terrorist attack. Being perhaps more cynical, I would say the key difference is that Russia is not the biggest kid on the playground.
They definitely thought it was an Ukrainian military transport plane. I don't see how the distinction between enemy military transport plane and enemy fighter/bomber is of any importance here.
Really? What makes you believe that the incident a few days ago didn't happen for the exact same reasons?
We do not even know who shot the plane down, but what we do know is that the captain who shot down the Iranian plane received medals and was promoted after the incident.