The Gemara in Shabbos 88b, shows a famous dialogue between Moshe Rabbeinu and the melachim, when Moshe ascended to the Heavens, after Matan Torah.
And Rabbi Yehoshua ben Levi said: When Moses ascended on High to receive the Torah, the ministering angels said before the Holy One, Blessed be He: Master of the Universe, what is one born of a woman doing here among us? The Holy One, Blessed be He, said to them: He came to receive the Torah. The angels said before Him: The Torah is a hidden treasure that was concealed by you 974 generations before the creation of the world, and you seek to give it to flesh and blood? [...] The rightful place of G-d’s majesty, the Torah, is in the heavens.
[...] The Holy One, Blessed be He, said to Moses: Provide them with an answer as to why the Torah should be given to the people. [...] Moses said before Him: Master of the Universe, the Torah that You are giving me, what is written in it? G-d said to him: “I am the Lord your G-d Who brought you out of Egypt from the house of bondage” (Exodus 20:2). Moses said to the angels: Did you descend to Egypt? Were you enslaved to Pharaoh? Why should the Torah be yours? Again Moses asked: What else is written in it? God said to him: “You shall have no other gods before Me” (Exodus 20:3). Moses said to the angels: Do you dwell among the nations who worship
There are sources that discuss the legal basis of the statement of the angels, and why they, in first instance, "protested" the fact that G-d wanted to give the Torah to mankind. The Sfas Emes (parashas Yisro), for example, explains that the legal basis of this can be found in the laws of the Bar Metzra.
The main focus of the laws of Bar Metzra is, as the Rambam puts it, that:
the property should be acquired by the neighbor, instead of the person living further away
So, this was the problem the angels had. They were "the neighbours" of the Torah so to speak, they were closer to it than mankind, so why give it to them.
However, the Gemara in Bava Metzia 108b says that a gift is not subject to the laws of Bar Metzra:
With regard to a gift, it is not subject to the halakha of one whose field borders the field of his neighbor, as one can give a gift to whomever he chooses.
The question is: does the law of bar metzra applies to Torah? Torah is considered a gift (berachos 5a for example). Are there sources that explain that the laws of bar metzra still apply to Torah, or can't this be, since it is an gift?
(When answering, please support it by sourcing it :))