I’ve seen this answer before:
https://www.reddit.com/r/AskHistorians/comments/1xaadb/why_is_the_rectangular_flag_the_standard_when_did/?utm_source=share&utm_medium=ios_app&utm_name=iossmf