Not really sure what causes this, but I learned that Apple changed the layouting algorithm to Cassowary a few years ago [1]. Because languages have different word length (eg. German words tend to be much longer than English words) and UIs should be readable in every language. Apple now uses constraints to layout the UI and the algorithm tries to find a good solution through iteration and has to reiterate for every size change. Visual effect might also trigger this.