I think the dialogue that is in lower case is a style choice, representing the main character's inner voice.