8Chan went down because cloudfare stopped providing DDOS protection for the site.
No other anti-DDOS service would do business with 8chan due to optics, so the site was open to constant rudimentary DDOS attacks.
It's not really illegal to stop doing business with someone.
DDOS attacks are illegal, but that stops exactly nobody from doing them.