Just an FYI...
I have been having troubles with my apple pencil where it would be working and then it would just stop reacting with the screen and then magically start working again… Finally, I realized the pen tip had become slightly loose. I tightened it up and now it’s working fine. I feel really dumb I didn’t look at that first, but there you go… 😀