Obama repeatedly has condemned Hamas as a terrorist organization that should be isolated until it renounces violence and recognizes Israel.