(PW) find out the real cause
After talking to my friend for an hour, I finally got to the bottom of why he was angry at me.
(your)
Find the basic underlying quality or cause of something. For example, He was determined to get to the bottom of the problem. [Late 1700s]
(englishclub) If you get to the bottom of something, you find out its real cause or the true story behind it.
(GoEnglish)
Get To The Bottom Of This (find out the truth about what has happened ... )
(1-language) - GET TO THE BOTTOM OF -
Reaching a state of conclusion over an issue or subject. For example:
In a murder investigation, the lead detective could tell a peer that they will "get to the bottom of this case," meaning they will solve the case.