It had synchronize and i had a flame orb and once i got burned it didn't pass it o.e tho magic guard is better, this is in game so i can't get it...
If the opponent causes a burn, paralysis, or poisoning of a Pokemon with Synchronize, the opponent receives the status condition too. Self-inflicted status conditions (for example through the use of an item) are not passed on.
Source