Because people see the information as they walk up or down the stairs, so it is an easy way to attract their attention and help them remember it.