Infelicity refers to a situation in which a speech act fails to achieve its intended effect or does not align with the context or expectations of the participants involved. This can occur when the felicity conditions for a particular utterance are not met, meaning that the social, contextual, or institutional rules that govern the effectiveness of the speech act are violated or absent.