Cortical granules are formed during oogenesis, the process of oocyte development. They originate from the Golgi apparatus within the oocyte. As the oocyte matures, these granules are transported to the periphery of the cell, where they remain until they are triggered to release their contents during fertilization.