Sometimes, in extremely wet conditions, minerals build up at the bottom of the A horizon. They can become cemented together to create hardpan. This is an impermeable layer that water is unable to flow through, and so the soil above the hardpan becomes waterlogged.