I had this issue, revealed by a CGM.
For me it was being caused by the low dose of mirtazapine that I took for insomnia, which I have now reduced.
What I found helpful (confirmed by CGM) was a slow carb snack at bedtime with 2 teaspoonfuls of cornstarch.
There is scientific research supporting cornstarch for preventing hypoglycemia.
I am hormone replete including testosterone and don't drink alcohol.