Something very strange happened and I'm trying to figure out the reason.
I discovered that the Apple Pencil comes with a lightening connector. I had never used it and I tried to charge my Apple Pencil using the wall charger and the lightening connector.
After the charging I connected my Apple Pencil to my iPad and it was dead. My iPad (2018) refused to even observe that pencil is connected to it. I tried all the things like rebooting iPad with pencil connected to it.
I tried charging again, and nothing worked.
Next I connected the Apple Pencil to my son's iPad (10.5 pro) and it immediately asked me to pair.
Next I connected the Apple Pencil to my iPad and it again asked to pair and showed its 100% charged.
So this is very funny and I'm trying to figure out what happened. Why was it dead when I connected to my iPad (multiple times with various intensities).
but worked immediately when connected to 10.5 pro and then subsequently worked when connected to my iPad.