GP sent a neurology referral for my TMJ?

forgive me if i sound like an idiot, but i don’t know how they’re connected. she said i could be prescribed masseter botox but that i’d need to see a neurologist to get it. what does neurology have to do with TMJ?

i probably sound really stupid, i’m sorry lol.