Yes, it's annoying that the representative is trying to make the administration look bad and further his own party. But political embarrassment and partisan show victories are exactly what motivates politicians to do things. These partisan actions are the kind of actions the Obama administration will notice.
Or he could remain neutral and abstract and introduce a hastily written bill that purports to solve the problem, like Rand Paul. And nothing will happen.
The partisan political system responds to partisan political incentives. To see many interesting examples, try studying the period leading up to the American Civil War.