Life is not always that simple. I’m a mom to a child with autism. I can tell you from experience, the “quiet hours” mean nothing to him. If something overstimulates him, be it noise from another guest in the hallway, the air con noise, or maybe parking lot noise, the resulting tantrum will be loud and potentially long. And neither he nor I can control that. And I find it hugely upsetting that someone would take the view that we are in some way breaking the rules if this happens.
You never know what is going on in someone else’s life until you’ve walked in their shoes. So maybe try and be more understanding. And as other have said, if there is persistent noise, talk to the front desk, explain the situation and ask to be moved.
I know personally that when I check in at hotels and my son is with me, I make sure that there I’ve discussed it with the hotel, that I’ve asked for a room in as remote a location as possible to avoid over stimulation, and I ask for a note on our room reservation, so that if something does go wrong, and someone next to us has cause to complain, the hotel immediately know what the situation is. So maybe another remedy, if you are bothered by children, you could make a request at check in not to be placed in a room next to a family!