It is a bug that should be fixed soon. I also reported it here.
The relationship trails are the same both ways, but the stated relationship between the two people is incorrect for one of the combinations.
It should produce the same answer no matter which way you enter the two IDs, but it doesn't yet.