Yeah, that’s usually tied to security clearance. Some airports require a fully traceable work and activity history so they can vet you for an airside pass. Gaps longer than about a month mean extra paperwork or extra checks, and some employers just decide they won’t deal with that.
It’s not about judging your career path, it’s about making the background check as simple as possible. Frustrating, but pretty common in aviation jobs, even for basic handling roles.