Article II, Section 1, Clause 2 of the Constitution requires each state legislature to determine how electors for the state are to be chosen, but it disqualifies any person holding a federal office, either elected or appointed, from being an elector.
Before Missouri joined the Union, the free and slave states were equally balanced in congress.Missouri wanted to join as a slave state, so the balance would be upset.