Their OT is different from yours. However, they are gift Pokemon, not traded Pokemon.
If the OT/ID is different then it will gain additional experience. Source
How to change your username
How to add a user avatar
Why was my post hidden?
The points system
Flags vs Downvotes
Type a Pokemon name, type, move or ability to see instant results.