Answer :

Many events happened before loyalists left Boston and Philadelphia. Some major events were the Boston Massacre, Boston Tea Party, and some of the beginning battles of the Revolutionary War, like battle of Bunker Hill and Dorchester Heights. After Dorchester Heights, in Boston, many loyalists left when the British were kicked out.  
Boston Massacre, Boston Tea Party, and the Revolutionary War. :)