Hello,
Theme Options > WooCommerce > Shop > Product styles > keep Stretch product images option disabled https://prnt.sc/26erdzs
Regards