As you learn more about writing, you find out there’s this thing called “voice.”
It’s essentially the personality of the main character/narrator coming through the words on the page, directly to the reader, making them sound as real as possible.
Voice can be tricky to pin down, but there’s one book that does an incredible job of capturing the protagonist’s voice from page one: An Absolutely Remarkable Thing by Hank Green.