On the internal dynamics of snow avalanches