According to Ai:
Based on the location and what I can make out in the photo, that looks very much like the Trailer Tire Pressure Monitoring System (TPMS) module used on newer GM trucks.
A few clues:
It's mounted under the bed near the spare tire, which is exactly where GM often mounts trailer-related modules.
The housing has a GM logo and appears to have a part number ending in 199, though the full number isn't completely readable.
The large weatherproof connector and module size are typical of GM's trailer electronics modules.
On Silverado's equipped with the Advanced Trailering System, the truck can pair with trailer TPMS sensors and monitor trailer tire pressures through the infotainment screen. This module handles that communication.