The issue that your photograph shows is atypical of side-lit backlights - as found in all models of iPad except the fifth generation (2021) iPad Pro 12.9”. This does not suggest that the problem is itself common, but where seen, is characteristic of a side-lit LCD backlight.
The 2021 iPad Pro 12.9” differs from other models in that the screen uses a miniLED backlight panel; instead of being side-lit, the miniLED backlight panel employs over 10,000 individual miniLEDs - in groups of 4 - providing in excess of 2,500 local dimming zones. Failure of an individual miniLED or dimming zone would be very unlikely to exhibit the symptom illustrated in your photo. You photographs might suggest that you have a different model of iPad Pro.
As mentioned earlier, yours is the very first report that I have seen concerning this issue with a 2021 iPad Pro 12.9” M1.
As for your Apple Pencil, these may have shorter service-life than your iPad - the usable lifetime generally being governed by how well the Pencil battery is maintained…
All rechargeable batteries, regardless of battery chemistry, require maintenance through periodic charging. In this regard, the battery within the Apple Pencil is no different to any other device that is powered by an internal battery.
Where the Apple Pencil differs from larger devices, such as iPad and iPhone, is the size of the battery. The Pencil Battery is tiny - and can hold only a tiny fraction of the total charge of much larger batteries. It is perhaps for this reason that the Pencil may appear to be more susceptible to battery failure than other devices. That said, be under no illusion that your larger devices, if left uncharged for long periods, can suffer the same consequence of battery failure.
The tiny internal Li-ion battery is susceptible to permanent/irreversible damage through being left discharged for long periods. Even some “new” pencils can exhibit signs of failure out-of-the-box if they are “old stock”.
It is essential that if you have an Apple Pencil that you charge it regularly - whether used or not - so as to protect the battery from deep-discharge. Do not allow a pencil to remain in low-charge state for any period of time - as the internal battery will fail, rendering the Pencil useless. Setting aside an unused Pencil, for extended periods, is a recipe for premature death of the Pencil battery. If the Pencil Battery has failed, the only remedy is to replace the Pencil.
Another common Pencil failure can be attributed to being dropped onto its tip - beneath which is the relatively fragile transducer that interacts with the iPad screen hardware. If the transducer is damaged, the Pencil may not function at all.