Some of the responsibilities the administration aims to move were explicitly assigned to the U.S. Education Department by Congress, raising questions about the legality of these changes.