ขึ้น and ลง are the ordinary words for up and down, and Thai hangs them off other words to do two quite different jobs. Stuck on an adjective they mean more or less than before — ดีขึ้น is getting better, นอนน้อยลง is sleeping less than you used to. After a verb about thinking or feeling, ขึ้นมา says the thought arrived on its own: นึกขึ้นมาได้ is it suddenly coming back to you. Nothing moves upward in either case.