New Zealand mosque attacks: Social media comes under attack

Why was it so difficult for social media giants to contain the spread of videos of New Zealand mosque attacks?