Two main reasons people make false confessions. The first is as you yourself felt, they feel it is easier and less damaging to just confess to whatever it was.
The second reason is, basically, the malleability of our memory. You’ve probably heard of the general line in regards to propoganda, “say something enough and people will believe it’s true”. The same principle applies to confessions. Many false confessions of a criminal nature are due to the accused being led towards a certain answer by investigators or witnesses. The accused is usually isolated and already treated as guilty- locked in a cell, escorted around by armed guards, etc. Then they are told that they committed some crime and asked why/how they did it. They are being treated this way by what most people consider a reputable and authoritative force, the police. So there you are, the police are telling you that you committed some crime, they are treating you as guilty, and you start to believe that maybe you really were at that time and place. Maybe you really did do that crime and you just misremembered. Then you begin to create a false memory of having done whatever it was you were accused of and now you have convonced yourself that you really did commit the crime. This might sound crazy and far fetched but it is true and false memories are a real thing.
For example, a man was arrested in Oregon, I think, many years ago on charges of sexual harassment of a minor. He was innocent, but the police believed he was guilty. Under many hours of interrogation, the police repeatedly told him he did this crime, this was how he did it, and it would go easier on him if he would just admit that he did it. Eventually the man believed what they told him himself and plead guilty to the crime. They later found the real perpetrator and realized they had charged the wrong man. The lead investigator however was so convinced of his own story that he refused to admit he arrested the wrong man. The man wrongly convicted also was kind of surprised to learn he was right all along! After being proved innocent he said something along the lines of, “They kept telling me I did it, so I thought maybe I really did”.
False memories are actually a big problem in issues dealing with witnesses. Another broad example, in the 80s and 90s psychologists began using techniques to reveal “repressed” memories, especially in regards to child abuse and sexual assault. What they actually were unknowingly doing was leading the client on by saying stuff like, “what do you remember about when he touched you”, and so they were actually implanting false memories that were then used to have people arrested. The older a memory supposedly is, the easier it is to warp or create it. Long story short, you have to be very careful how you question people and don’t load the questions because memories are not really steel traps. More like clay.
