Palindromic Birthdays

If Mary's two-digit age is the reverse of John's two-digit age, we can say that they have palindromic birthdays, e.g., Mary is 27 and John is 72.

When the younger person is born, what rule about the older person's age determines if the two will ever have palindromic birthdays?