The defendant who lied did so because he felt threatened and hoped by turning on his friend he would be let go. It’s easy to understand how a 15 year old being questioned without a lawyer would feel scared. The police most likely grilled him for hours and even roughed him up a bit until he broke down and signed a false statement just to be done with the questioning.