Do you have shorter legs? Shorter cranks may make sense. Another advantage on a MTB would be less pedal strikes.
Crank length like most items on the cockpit have to be personal choice. My cockpit won't suit another rider whose cockpit I may hate.

... If it is something you are used to on one bike, it will likely work on another.