Final answer:
The difficult feeling during poor encoding or retrieval is known as Retrieval frustration. Cognitive dissonance is a separate concept that deals with the discomfort from conflicting beliefs and behaviors, disrupting consistency and prompting a need to resolve the dissonance.
Step-by-step explanation:
The feeling that arises during difficulty with encoding or retrieval of information when it is not encoded well is known as Retrieval frustration. However, you also mentioned Cognitive dissonance, which is a separate psychological concept. Cognitive dissonance is the psychological discomfort that arises from a conflict in a person's behaviors, attitudes, or beliefs that runs counter to one's positive self-perception. When we experience cognitive dissonance, we are motivated to decrease it because it is psychologically, physically, and mentally uncomfortable. This discomfort arises because it disrupts our sense of consistency, and it often occurs after making an important decision, such as experiencing buyer's remorse. One way to resolve cognitive dissonance is by bringing our cognitions, attitudes, and behaviors in line, thereby making them harmonious.