My Pokemon changed it's Gender?

I wanted to breed a Zoura but I didn't have a female Zoura so I decided to catch one. After I caught one I went to catch a male Zoura because I didn't have one. After I caught both I checked my party and it read my female Zoura as a male Zoura. I even put it in the Pokemon Nursery and I didn't get an egg?

Update:

Btw this is Pokemon Ultra Sun where it happened.

There are no answers yet.
Be the first to answer this question.