As per the requirement of Article VI, all officers of government, at every level, in every branch, swear to support the Constitution.
And the Constitution forbids the killing of innocent persons. It also imperatively demands that the states protect the innocent life of every person, and that they provide for the equal protection of the laws.
It’s not optional.