How do I move simple AI in a 2D space?

ive followed along and it worked with going left and right but the enemy wont go down?
do you have any ideas why?