Original: Following the election, the Conservative Party formed a coalition government with the Liberal Democrats. Due to the Liberal Democrats larger number of seats in Scotland, the post of Scottish secretary was appointed to a the Liberal Democrat MP's Danny Alexander and then Michael Moore.
Simplified: After the 2010 election, a Conservative-Liberal Democrat coalition was formed and because the Liberal Democrats have more Scottish MP's than the Conservatives, a Liberal Democrat was given the post of Scottish secretary.