TRT can worsen sleep apnea. Your endocrinologist should have discussed some of the side effects. The anabolic response can increase neck girth and tongue size which can occlude your airway if you are already prone to snoring. If you feel you're not getting any restful sleep, talk to your primary doc and see if a sleep study is appropriate.
I was on TRT for 2 months when my wife noticed a massive increase in my snoring and periods of not breathing. Had a sleep study done that confirmed severe obstructive sleep apnea. Had to get a CPAP but getting restful sleep is worth the annoyance, especially if you're lifting heavy. You can't gain if you can't recover properly.