The same German word means the ground beneath your feet and the reason for something. Aus welchem Grund? — from what ground? Im Grunde genommen — taken at bottom.
In German, the cause of a thing and the floor of a thing are the same word. You have not found the reason until you have hit the bottom.