Soil has different layers that vary in their characteristics.
Upper soil layers are loose, and easy to dig.
As the man started digging beyond 5 feet, he reached the layer called bedrock. So, due to the presence of rocks, digging became difficult.