On smooth and firm terrain (e.g. asphalt and concrete) tires adhere thanks to the friction between the rubber and surface. A profile is not required, in fact a grip would be detrimental because less material is engaged with each other. Less profile results in better rolling resistance. There is no reason to worry about aquaplaning with bicycle tires. Therefore, tires with very little or no profile at all should be the first choice for firm terrain with grip.
On rough or loose surfaces, the grip of the tire rubber is inadequate, the tires will slide. Therefore profiles are required on surfaces of this kind because this creates additional interlocking between the tires and the surface. The deeper and looser the surface, the better it is to have a deep profile. The running properties on firm surfaces however suffer. Therefore it is impossible to recommend on single tire for mountain bikes. Enthusiastic riders are therefore well advised to use different tires in different areas and situations.