Why has the rectangle shape of flags become the standard for country flags around the world?

by rancidsquid

Just looking at the flags of the recent G7 and all of them were rectangle-shaped and it came to mind how did a bunch of the countries around the world agree to this standard?

Warm-Sheepherder-597

Not to discourage further answers, but the answer by u/dream_face to this similar question from 2014 might help!