Correct choice is (a) Frictional force
To elaborate: The retaining walls are constructed of masonry or concrete, due to this the frictional force develops. The existence of the friction makes the resultant pressure inclined to the wall at an angle that approaches the frictional angle between the soil and the wall.