In practice
It points at the layer between servers — a proxy, a load balancer, a CDN talking to a failing origin.
Check the origin directly before assuming the edge is at fault.
Why it matters
It usually means a partial outage, affecting some regions or some requests while others look fine.
Intermittent 502s are among the hardest failures to reproduce and the easiest to dismiss.