That's because the modern web itself is a REST API, whereas most of the things that call themselves "REST APIs" aren't.
APIs are what we are talking about.
My point is that APIs are an exception mostly because developers are conditioned by the RPC "APIs" mental models, which doesn't take effect when they're thinking about a "website" instead, not due to some fundamental technological difference.