Why does "learning" was used here? What does it refer to?
Native speaker’s answer
Rebecca
"Learning" does not end the sentence here but actually connects to the next sentence. So the full sentence here should be "everyday I'm learning all my life I've only been pretending". So the word "learning" is used here to express that she has learned that she has been pretending her whole life.