Depth of Field is quite larger on a wide angle lens.
For example, a 10mm lens focused at something 50 feet away:
At f/4 DoF near limit is 3.98 feet, out to infinity.
At f/16, DoF near limit is 1.06 feet, out to infinity.
Both aperture choices mean that everything in your shot will (most likely) be in focus, assuming you're kneeling or standing up.
So using aperture to control DoF becomes somewhat meaningless since the DoF is so large. So with night photography, aperture is changed to get different effects. A small aperture, like f/22, will cause bright spotlights to have crisp "stars" around them.
Sometimes you don't want that, sometimes you do. Sometimes the lights are large and soft, so you won't get great stars anyway, so the aperture is changed to control the exposure time. Here I wanted something relatively fast, because the police officer wasn't going to stay *absolutely* still for too long.
Same idea on this shot. The clouds were hauling ass across the sky, so I wanted a faster shutter speed, so I opened up the aperture to f/4 or f/5.6 to get the fastest shutter speed.
And sometimes you just want the smallest aperture to get the longest exposure time. Here I wanted the headlights on the lower left to wrap fully around the building. I did not want the headlights to suddenly end somewhere in the frame. So f/22 gave me the longest exposure time, allowing a car to travel the full distance around the buildings.
In the end, wide angles allows a large DoF with most every aperture setting, so aperture becomes "less important" for DoF, since many aperture settings will give everything in focus. Thus aperture settings can be used to control other things, like stars around lights, and shutter speed.
Go out any shoot some extreme examples. Take a bunch of shots at f/4 and f/22. Note what happens. Even though DoF probably doesn't change noticeably, other stuff will change.