Scorpions are nocturnal predators, and they’re after the other bugs (crickets, roaches, and more) in your home. Their vision is poor, so they often move along baseboards and walls, searching for food and water.
However, they do have one trick: the Arizona Bark Scorpion is the only kind that can climb walls and even ceilings.
In fact, the only thing they can’t climb very well is glass, which has led to the tradition (going back decades) of some Arizonan mothers putting the legs of cribs in glass mason jars. Of course, these days, you can (and should) just call KY-KO for scorpion control.