At the rest position (lowest point), the swing has its maximum speed and thus maximum kinetic energy (assuming negligible energy loss). As it rises, its height above the lowest point increases, causing its gravitational potential energy (PE = mgh) to increase. Simultaneously, the swing slows down as it moves upwards against gravity, causing its kinetic energy (KE = 1/2 mv^2) to decrease.