The castle law states that one has the right to protect themselves and their property. That’s why the law is controversial. Once upon a time, (a couple or so decades ago) it was considered a no-brainer, understood concept. Thieves could be shot dead for stealing chickens.
Mike Dukakis, then gov., pushed it through in MA.
No surprise, because MA was also the only state to have car theft, for the purposes of joyriding, a misdemeanor. For the children, of course.