Initially, MongoDB was marketed as a simpler, better, drop-in replacement for SQL databases (PostgreSQL didn't support schema-less JSON at the time)
It was just crappy, dishonest marketting like the mongoDB team often produce.
GraphQL does the same when it compares itself to REST. It has problems of its own and it's a false dichotomy. It's just marketting.