Pi is irrational because it represents an imperfect ratio. Curves are different than straight lines, so when you try to relate them to one another, some things don’t match up. It happens any time straight lines and curved lines interact, I think. Pi and e both show up in the weirdest friggin places.
This is so much more complex than the HGP