|When we induce a current in the coil, it becomes an electromagnet. One end of the coil is a north pole and the other end is a south pole.
When the north pole of our magnet is moving towards the left hand end of the coil, the induced current flows anticlockwise (as we look at the left hand end). This makes the left hand end of the coil into a north pole. And this north pole tries to repel the incoming north pole of the magnet.
So the induced current opposes the motion that induced it (from Lenz's Law).
When we pull the magnet out, the left hand end of the coil becomes a south pole (to try and hold the magnet back). Therefore the induced current must be flowing clockwise.