When one says "wax philosophical" they're suggesting that they are, or someone else is, dwelling on a philosophical idea, or several different ideas. They might discuss it without or without the listener's permission.