At some big Youtubers, maps were sold that were downloaded, that is, that they did not build themselves, but could be downloaded from the Internet. They sold it, is that illegal?
If the maps are sold without the consent of the builder (author), this is illegal.
This is a not uncomplicated legal problem that no one will be able to answer so easily
So you can?
If I understand that correctly theoretically no yes you can have a look here https://minecraft-server.eu/forum/threads/mal-eine-%C2%A7-frage.7460/ because it was discussed in detail.
In the end it is something like creating an image in Photoshop because you also put squares together into something larger. It's just a question of whether it is worth taking legal action against something like that. Probably not
The maps are open to everyone. I would say yes.
But just because you can find pictures publicly on Google doesn't mean that you can sell them
Well, you should
A) Ask the map maker
B) ask the website operator
Because if you upload something, the website can say yes or no to a certain extent.
If you post a picture of yourself, I'm not allowed to resell it just because it is public.
A map in Minecraft can be seen as an "artistic creation" and it is illegal to reproduce and sell it without the knowledge of the "creator". Whether it is legally worthwhile to take action against it is another matter.
Sure, it's hardly worth it. But there are websites where you can share them with everyone. But in principle you are right.