Missing game lisence

Hey so I originally bought my overwatch (Legendary edition) for xbox but connected my account with my battle net account and now apparently I have to buy it again for pc?

To play using another platform, in your case here PC but would also apply to Switch or Playstation for example, you do need to own a copy of the game on that platform as well.

I changed the email to the account and it still even though in the game section it says license activated when i attempt to join it wont let me