I stepped on a rock bare foot in my yard 4 days ago and my heel still hurts, . What can cause this?

The trauma. Of you stepping on the rock. You likely bruised the soft tissue structures and may have developed plantar fascitiis as a result. Icing the foot when possible and antiinflammatories like Motrin is a good start.