I’m pretty sure it’s to keep the button buttoned. The last button does tend to come unbuttoned when tucked in. Works for me anyway.
A friend who deals in vintage Hawaiian shirts says that the mark of a true vintage shirt is that the buttonholes are all horizontal.