Because Xcode is... not so smart.
Just click log out and then log back in, and it'll be fixed.
Topic:
Developer Tools & Services
SubTopic:
Xcode