Presumably because browsers talk HTTP, but don't talk Postgres' native protocol.
Throw in ETAGs and you can do a lot of cool stuff to make things scale really well.
But sending SQL from the client is dangerous, and in this forum you'll get some interesting looks suggesting that.