Or it may have to do with that rule, that if both teams are in the playoffs, the division winner is determined by head to head season record if they are tied.
Loman is correct. If Bos wins tomorrow they are in the playoffs. In that scenario the division winner is decided by season series record. NYY is the East champs.