They literally can. They could make the API free to use if they wanted. There is no law that states that costs have to equal the cost it takes to process the request.