I definitely get the curiosity! Cockroaches usually visit houses because they’re seeking food, water, and shelter.
They are opportunistic pests, so if your home has crumbs, food scraps, or even moisture in places like the kitchen, bathroom, or under sinks, they’ll make themselves at home.
They tend to be more active at night, when it’s quieter and they can move around undisturbed. They also thrive in dark, damp areas. Have you had a roach problem recently, or is this just a random observation?