Cities enforce pet noise laws to ensure a peaceful environment for all residents. These laws help prevent disturbances caused by excessively loud pets, such as dogs barking late at night.