No idea. I’m assuming the expecting parents already know and invite all their friends and family round for a big fck off party, then they pop a balloon filled with confetti which will be blue if it’s a boy and pink for a girl, thus revealing the gender.
See it quite often on social media.