Why did he let his best friend hit on me?

We were talking and flirting but then we got into a fight, we started talking again but then he gave his best friend my info and he started texting me begging me for pics because his friend said I was so hot? I blocked his friend and don't talk to the guy that much anymore. Can someone explain please?
Why did he let his best friend hit on me?
Post Opinion