Passengers are not an airport’s customer, they’re the product an airport (and airline) sells to merchants who rent space inside the terminal.
Long walks frequently designed to accommodate more shopping, with more retail space in the terminal. And airports don’t want passengers skipping the shops!