a soccer ball is going upward after being kicked & going upwards means increasing the altitude ->  the altitude of the soccer ball is increasing  a ball is a kind of object & a soccer ball is a kind of ball ->  a soccer ball is a kind of object  the altitude of the soccer ball is increasing & a soccer ball is a kind of object & as the altitude of an object increases , the potential energy of the object will increase -> the potential energy of the soccer ball will increase