There’s really a lot of stuff a photographer must consider before taking an image. Framing, composition, and just a couple things. Camera settings, and making sure they work with your subject, and also location and time of day, are also big.
Really I just messed around with my aperture a bunch. Didn’t have to do much else to change the depth of field. For the image where I freezed the action, I just raised the shutter speed, and for the panning image, I slowed it down.