You can be able perform certain things because of the environment you are in not necessarily that you are capable. The spirit that is operating at a place can affect your capability and behavior. There is these saying that when you meet a man or woman of God, catch the anointing.
When Saul’s messengers came to a place where Samuel and other prophets were prophesying, though they were not prophets, they were able to prophesy. 1 Samuel 19:20 Then Saul sent messengers to take David. And when they saw the group of prophets prophesying, and Samuel standing as leader over them, the Spirit of God came upon the messengers of Saul, and they also prophesied.
When in a ministry where there is healing and deliverance, the spirit of the Set Man is dominating and by virtue of you stepping into to the place, you can receive without being prayed for. A man or woman of God can instruct you to pray for a person and the person is delivered. You can try to pray for a person outside and nothing happens, because the anointing in that place enabled you to.
God allowed some leaders to have the spirit of Moses for them to function at his level. Numbers 11:17 Then I will come down and talk with you there. I will take of the Spirit that is upon you and will put the same upon them; and they shall bear the burden of the people with you, that you may not bear it yourself alone.
We also learned that Aaron was Moses’s prophet meaning his functionality was dependent of Moses not God. Exodus 7:1 So the LORD said to Moses: “See, I have made you as God to Pharaoh, and Aaron your brother shall be your prophet.