Minecraft ores follow a triangular distribution pattern, with ores less common at their minimum and maximum Y-levels and most common at the midpoint between the two. There are exceptions — some ores like Iron have high distribution levels at higher Y-levels in mountainous biomes — but that's a solid rule of thumb to follow.