But Baker is one of many elected officials in Massachusetts who stated their opposition to Trump’s order, including Mayor Martin J. Walsh, US Representative Seth Moulton, and US senators Edward J. Markey and Elizabeth Warren.