Looks like "bag rub", which generally happens during shipping, however, if the fish isn't new, your fish is either rubbing its mouth against the tank wall (begging maybe) or may have smacked it on the rockwork, but it looks more like "rub" to me.
This generally heals up all on its own, but keep an eye out for signs of secondary infection (redness, swelling, etc).