I think this type of irritation may occur in a few different "conditions."
My pdocs do mention it reminds them of AS; yet, they have never changed my diagnosis. This goes on for me fairly frequently.
Neurontin/gabapentin seems to be helping, so far. It's a bit sedating, however.
I hope you find some answers for your child.

WC