It can be a number of reasons. They may be eating food, they may have resting bonus active (a bonus built up when you idle/logout in sanctuary areas, Inn Room etc.). If it's in a dungeon they may actually be synced (look for the little yellow icon by their name) which means they will get slightly adjusted experience.