It calms them down and makes focus easier afterward
Slow, investigative sniffing taps into a dog's rest-and-relax response rather than the excited go-go-go mode of a brisk walk. Letting them nose around freely for a few minutes early on is a decompression break, and a decompressed dog has a far easier time paying attention when you ask for it later.