S1E12 HELP ME SETTLE THIS DEBATE

Ok Im watching friends for the first time with my partner who has been a long time fan. We’re watching the episode where Ross doesn’t want to know the gender of his baby. At around 9:50 in the episode Joey asks Monica to reveal to him the gender of the baby, and Ross gets annoyed that both of them now know and he doesn’t. Monica explains she’s just excited to be an aunt, and Joey responds saying “or uncle”

MY interpretation is that he’s saying or uncle because Ross doesn’t know the gender , which doesn’t make sense because being an aunt or uncle doesn’t depend on the gender of the baby

But my partners saying it’s because Joey sees himself as being an uncle to the baby even though he’s not related

But then why would he say OR uncle this makes no sense

Which one is right