Consumer confidence unexpectedly rose in July as Americans were more optimistic about the short-term outlook than they were about their current conditions, according to a report released Tuesday by The Conference Group, private research group.