Angels have no gender (
Matthew 22:30)
For in the resurrection they neither marry nor are given in marriage, but are like angels of God in heaven. Matthew 22:30
As we see this verse does not say they have no gender, but that they angels "in heaven" do not marry.
We know that angels, sons of God do indeed take on human form, and can function as humans when they are on earth.
Then the LORD appeared to him by the terebinth trees of Mamre, as he was sitting in the tent door in the heat of the day. So he lifted his eyes and looked, and behold,
three men were standing by him; and when he saw them, he ran from the tent door to meet them, and bowed himself to the ground,.... So Abraham hurried into the tent to Sarah and said, “Quickly, make ready three measures of fine meal; knead it and make cakes.” And Abraham ran to the herd, took a tender and good calf, gave it to a young man, and he hastened to prepare it. So he took butter and milk and the calf which he had prepared, and set it before them; and he stood by them under the tree
as they ate. Genesis 18:1-2, 6-8
As we see, the Lord and two angels with Him appeared as men, they ate and drank and the scriptures call them "men".
Then the men rose from there and looked toward Sodom, and Abraham went with them to send them on the way. And the LORD said, “Shall I hide from Abraham what I am doing,... Then the men turned away from there and went toward Sodom, but Abraham still stood before the LORD. Genesis 18:16-17,22
These "men" were actually angels and they ended up being accosted by the homosexual men in Sodom, who saw them as men. They eventually destroyed Sodom and Gomorrah.
Angels do indeed take on human form as the gender of men, and can function as humans.
JLB