DDoS attacks

I’m just curious how Microsoft can let a DDoS attack happen or get by?? Also , aren’t gaming servers the first to acknowledge any widespread attack on our cyber optics nation wide…I would assume so.