How long have you had that Apple Pencil lying around NOT being used or charged up?
You cannot store Apple Pencils for any prolonged period of time and NOT keep them charged up to some level.
If your Apple Pencil/s sat around unused or unopened and not kept charged up for more than a few weeks, or so, OR
LONGER, then the battery in your Apple Pencil may have failed and is dead and you will have to purchase another
brand new Apple Pencil or get under one-year warranty free replacements from Apple.
Sorry.
And it looks like some things about the Apple Pencil have NOT changed in the new version 2 model, either.
FYI and something Apple never divulges to it potential iPad Pro/Apple Pencil customers/users unless the potential customer/user is smart enough to ask about.
Due to the “always on and active/standby” nature of the Apple Pencil and, also, due to its very tiny rechargeable Li-
ion battery ( smaller than the eraser head on a REAL wooden pencil ), the Apple Pencil needs to be constantly charged up to some significant charge level ALL THE TIME, even when not using the Pencil for prolonged periods of time.
The Apple Pencil needs to be kept charged to a minimum of 5-10% all the time.
If the Apple Pencil battery is allowed to drain down to 0% and allowed to stay in that flat condition for more than a few weeks, or so, OR EVEN LONGER, that very tiny little Li-ion battery is too small to keep at a 0% state for a long period of time and it will fail and the Apple Pencil will be dead and you may have to “pop” for another $99 Apple Pencil, once again!
Apple only has a one-year warranty on any Apple accessory items.
You need to keep your Apple Pencil charged all the time, even if it is only to 10%-15% charge. It must keep some charge level in that tiny Lithium-ion battery at all times!
You will probably need to purchase the Apple Pencil, again.