Why did my friend freak out so much on ecstasy scratch walls cry and have a fever?

Ecstacy is 3,4 methylenedioxymethamphetamine. It has significant hallucinogenic properties. Some individuals experience a "bad trip" after taking this drug. They can become anxious, paranoid, and experience behavioral agitation.