Why do some of my dubia roaches have wings?

This is the one of the big differences between male and female dubia roaches. Males have fully-formed wings, while females only have wing stubs.