Lots of factors come into play ... seen whole chapters in books about "the shove".

Shoving when deep stacked is generally a bad play ... shoving when short stacked is generally a good play... making a shove is better than calling a shove.