Error A102 ?
Where does the error code show on your model?
The XG50T appears to have honeywell gas control valve that flashes error code with series of blinks, and not LCD readout.
If the release of water got electronics wet, then the electronic parts likely will not function.
Release of water from TP valve means temperature of water inside tank exceeded the temperature-pressure rating of TP valve.
This is a safety feature.
Water from TP can indicate thermostat failure, or other less serious issues.
Your water heater appears to have 9 year warranty.
Serial number located on label on side of tank will have numbers- 1st and 2nd digits are week of manufacture, 3rd and 4th digits are year of manufacture,
Call Rheem since they do not post service manuals.
Other companies post service manuals and are much easier for DIYers.
Water Heater Timers Save Money
If you need further help, I’m available over the phone at https://www.6ya.com/expert/gene_9f0ef4df2f9897e7