Some lonely half-wit not able to socialise with adults and resorting to friendship with a child, possbily a remedial thing, fair enough that's one thing. Possibly still classed as grooming, depends on the situation but maybe not illegal.
Knowing a person is underage, sending a photo of yourself...