They got busted for smoking dope, and then they resited arrest. Someone called the cops, and the cops were doing their jobs by investigating. Then your buddies turn into complete assholes, put their hands on the officer, and get arrested.

By the sounds of it, they got what they deserved (your friend). What did he plan on accomplishing after the cops found the plants, dope, etc...? He was caught red handed and he just made it worse. What an idiot.