What can this be?

My daughter woke up from her nap yesrday with this, it’s going across her mouth. I don’t remember her doing anything to have caused something like this to happen.. any idea what it can be from?? Or can this be caused from teething? She’s one and half years old. She was pointing at it when she woke up saying it hurt.. :(