Most likely the rinse cycle is set for cold water only. Check if you are getting cold water to the washer, then check the water valve. If it's getting 120VAC to the solenoid - replace it Part number: 285805
Here are the breakdown diagrams and Replacement parts for Whirlpool LSR5232LQ0 WASHER - DIRECT DRIVE | AppliancePartsPros.com
Post the results.