While both theories explain how people come to understand their own attitudes and beliefs, self-perception theory suggests that people infer their attitudes by observing their own behaviour, whereas cognitive dissonance theory suggests that people experience discomfort when their attitudes and behaviours are inconsistent, leading to a desire for attitude and behaviour alignment.