The president said the photo shoot near the Statue of Liberty was an inappropriate use of taxpayer dollars.