I saw many refrences regarding gods and rishis "dropping their semen" after seeing another godess or an apsara. How is this justified? Aren't they supposed to follow brahmacharya? Or was it not under their control and was "niyati"?
Brahma
Lord Brahma's semen fell after looking at Devi Parvati:
Shiva Purana, Rudra Samhita 2, Sati Khanda 2, chapter 19, verses 26-28
”Then, O sage, afflicted by the cupid and delighted in the heart of hearts, I [Brahma] lifted her veil and stared into the face of Sati. I looked at the face of Sati many a time. I was helpless in curbing the onset of a sensuous organism. Four drops of my semen virile got displaced and fell on the ground like drops of dew as a result of staring into her face.”
This is also supported by Brahma Purana Gautami-Mahatmya 3.15
Brahma is said to have ejaculated on seeing the wives of gods, Apsaras, and other women:
Vayu Purana, Part 2, 4.29-31
”The brilliantly shining goddess Earth, the quarters, the intermediate quarters, the Lords of quarters, the celestial virgins, the wives of Devas, the mothers and Ayu all these were present there in embodied form in front of the Lord (Brahma) who was performing the Yajna assuming the form of Varuna. On seeing the ladies, the semen virile of Svayambhu fell on the ground…”
Brahma discharged his semen after looking at Godess Rati (though this is said to be an effect of arrows, but if it is so, then how come the self-realized god, be overcome by feelings of "Kama"?)
Brahma Vaivarta Purana, Brahma Khanda 11-20
”This Khma who wields the following arrows, namely, killing. stupifying, soporific, emaciating and maddening, experimentally discharged the arrrows on all and, at the desire of the Supreme Being every one was excited with lust. To crown all, the great anchorite, Brahma looked with wistful eyes at Rati and immediately his semen was discharged…”
Brahma is said to have ejaculated seeing Amogha, the wife of sage Santanu
Padma Purana Section 1 Sṛṣṭi-khaṇḍa, Chapter 55, verses 16b-18a.
“The grandsire of all the worlds, after seeing Amoghā, ejaculated. From that is said to be the rise of Lauhitya. It purifies all people. It is full of all sacred places; resorting to which a man goes to the healthy world of Brahmā.”
Brahma had again ejaculated on seeing a nymph,
Brahma Vaivarta Purana, Krishna Janma Khanda 131.2-10
"Subsequently at that place nymphs who had sprung out of the body of Visnu and who were the digits of Visnu began to dance and chant Visnu’s hymns in a melodious tone. The paternal grandfather Brahma, observing their hard buttocks, thick spherical breasts and smiling lotus faces, was excited with passion. He could not control his heart; his semen was discharged; and out of shame he concealed it on the ground with his cloth. O Saunaka, after the music was over, he threw the semen along with the cloth rendered hot by lust into the sea of milk.”
Agni
Brahma Vaivarta Purana, Krishna Janma Khanda 131.34-38
"Once upon a time, all the gods having assembled in the council of the gods, the celestial whores busied themselves with dancing and singing. On that occasion, the fire-god (having seen Rambha with graceful buttocks), was excited with passion and discharged his semen…”
Mitra and Varuna
Mitra and Varuna are said to have ejaculated on seeing Apsara Urvashi,
Srimad Bhagavatam 6.18.6
”Upon seeing Urvasi, the celestial society girl, both Mitra and Varuṇa discharged semen, which they preserved in an earthen pot. The two sons Agastya and Vasiṣṭha later appeared from that pot, and they are therefore the common sons of Mitra and Varuṇa. Mitra begot three sons in the womb of his wife, whose name was Revatī. Their names were Utsarga, Ariṣṭa and Pippala.”
This story is also supported by Rig Veda 7.33.1 and Nirukta 5.13.
Rishis
To avoid making this already long question even lengthier, I'll just write in short as to what happened in those verses. Please correct me if my interpretation is wrong.
Mahabharata 1.131.1-9
Old Rishi Bhardwaja ejaculated seeing wet hairs and disheveled dress of Apsara Ghritachi on the banks of Ganga while performing ablution.
Mahabharata 3.110.34-35
Rishi Vibhandaka ejaculated seeing Apsara Urvashi near a lake.
Mahabharata 9.51.5-9
Rishi Dadicha was performing penance on the banks of Saraswati river where he saw a beautiful Apsara Alambusa and seeing her the Rishi Dadhicha ejaculated.
Mahbharata bk 9, section 38
Rishi Mankana the son of Rishi Kashyapa ejaculated while spotting Apsara Rambha when both were taking bath in Saraswati river.
There are so many more references of Rishis discharging their semen and from then sons being born. But my question is, those rishis that are following brahmacharya, well read in the Vedas, how could they not control their senses? Is it that the apsaras were irresistable? That they simply couldn't help it like some sort of divine force was at play or something else? We can understand that the story of Lord Shiva dropping his semen was a divine Leela, but are these leelas as well? It's been written in some Dharmashastras and Puranas that discharging semen was a sin and one goes in hell (Devi Bhagavatam) or one has to do Pashchyataap (Parashara Samhiti). Then why did the rishis and the gods give in to their "indriya"? Why did the self-realized god who is a direct manifestation of the Supreme Brahman, be overcome with lust? Kindly explain this in detail as I have many doubts regarding this. Please give all possible context regarding this, previous karma, divine order etc.