An experiment does yield a cause and effect relationship, whereas a correlation does not. Just because there is a relationship doesn't mean we can assume one variable is effecting the other, or vice versa. They may be intervening variables causing the relationship which are overlooked.