that formation is called
gravity waves
>pic related
like ripples on a pond our atmosphere has layers. The different relative humidity / density / temperature at different altitudes cause distinct layering and this is made visible under certain conditions.