it is both, friction is the resistance of movement on an object that is in motion creating heat. It doesnt matter if its being pulled, pushed, rolling etc
Force of gravity is a pull force. Earth has this force. The earth pulls us towards its center so that we are standing on it. If it was to push we would be in space now.