Crank arm length is largely personal preference. There are people out there with short legs that prefer long cranks, and people out there with long legs that prefer short ones. For some disciplines like track cycling, and DH, it makes much more sense to run short (165mm or sometimes even shorter) cranks, for singlespeeding many people like to run longer cranks
The accepted “old skool” wisdom used to be that you want to run a crank length as close to 21% of the length of your inside let measurement as possible. For me with a 32.5″ inside leg, that means 173.5mm cranks. Which don’t exist. But 170’s and 175’s are readily available and 172.5’s are common for roadie cranksets too.
My personal preference is for a 170mm crank though, I’m more of a spinner than a cranker. One thing shorter cranks are also better for is your knees, longer cranks lead to increased knee pain or problems if you’ve ever had any issues with them. I was suffering on 175’s years ago, and going to 170’s improved things quite a lot for me personally.