This is as a result of learned irrelevance!
A very common mistake among dog owners is repeating commands. This can actually teach your dog they don’t have to respond on the first cue, or even become background noise to them. If your puppy didn’t respond, first wait a moment to let them process. If still no response consider the challenge of what you are asking regarding the environment and distractions. If your puppy should be responding quickly wait them out, and don’t let them do anything else. You can then repeat after 10-15 seconds!
You can also make yourself more exciting with tasty treats or a fun toy to help motivate your dog! And if you are still struggling with communication be sure to reach out to a certified professional dog trainer for help!