Because targeting the latest release lets the developer use new APIs/features that are not available on older OSes making development more productive and pleasant.

Of course, there’s a balance to be struck to support users, but macOS update uptake is usually pretty fast.