Any sovereign government needs the ability to control their borders. So the role of the (Iraqi) border-control security forces is one that is vital to the overall security of the country.
It shouldn't surprise anybody that a deployed soldier would rather be at home than deployed, even when they believe what they are doing is important and vital work.