Passage: Lincoln removed McClellan in March 1862, after McClellan offered unsolicited political advice. In July Lincoln elevated Henry Halleck. Lincoln appointed John Pope as head of the new Army of Virginia. Pope complied with Lincoln's desire to advance on Richmond from the north, thus protecting Washington from counterattack.Pope was then soundly defeated at the Second Battle of Bull Run in the summer of 1862, forcing the Army of the Potomac back to defend Washington.Despite his dissatisfaction with McClellan's failure to reinforce Pope, Lincoln restored him to command of all forces around Washington. Two days after McClellan's return to command, General Robert E. Lee's forces crossed the Potomac River into Maryland, leading to the Battle of Antietam in September. The ensuing Union victory was among the bloodiest in American history, but it enabled Lincoln to announce that he would issue an Emancipation Proclamation in January. Lincoln had waited for a military victory so that the Proclamation would not be perceived as the product of desperation.McClellan then resisted the president's demand that he pursue Lee's army, while General Don Carlos Buell likewise refused orders to move the Army of the Ohio against rebel forces in eastern Tennessee. Lincoln replaced Buell with William Rosecrans; and, after the 1862 midterm elections, replaced McClellan with Ambrose Burnside. Both were presumably more supportive of the commander-in-chief.Burnside, against presidential advice, launched an offensive across the Rappahannock River and was defeated by Lee at Fredericksburg in December. Desertions during 1863 came in the thousands and increased after Fredericksburg. Lincoln promoted Joseph Hooker.The midterm elections in 1862 cost the Republicans severe losses due to rising inflation, high taxes, rumors of corruption, suspension of habeas corpus, military draft law, and fears that freed slaves would come North and undermine the labor market. The Emancipation Proclamation gained votes for Republicans in rural New England and the...

Question: What was one of the reasons the 1862 election cost Republicans big losses?
rising inflation