Confused about some covid rules

I'm in Massachusetts BTW

So obviously you can't go anywhere without a mask. And now we have a mandate where you can't be out of your house from 10pm to 5am unless it's for work. Kids need to keep masks on of they go to school in person. All the usual stuff.

My friend has kids in sports and she posts their indoor basket ball games all the time. Nobody in the building has a mask on. Not the kids, coaches, parents, etc. This is an organized basketball team. Same with the baseball games, no masks at all. And obviously the kids are not 6ft apart while playing basketball...

So why is this allowed? Why is this allowed but I couldn't have my partner in the room for an ultrasound? 20 ish kids, all the parents and coaches with no masks...

Am I missing something?