Because of the Berlin Wall that was keeping them separated from everyone else
American states had to meet quotas of troops for the new Continental Army, and New England regiments recruited black slaves by promising freedom to those who served in the Continental Army. During the course of the war, about one-fifth of the northern army was black.