Hi Donald,
both are correct.
case 1, for role assignment, you can assign roles with validity date range, so if your selection did not specify a date range then both will return.
case 2, profiles do not have a validity date range option so therefore UserA do not have an active profile for that role and hence did not return in the result.
Regards,
John.