This has been pretty much like this since iOS 11 as a UI element as iOS/iPadOS keeps evolving and using more and more gestures in different locations, when the iPad Home button is finally gone from all iOS devices, users new to these swiping and finger gestures need to know where to do these things on new devices and new iOS/iPadOS versions.
For many these gesture/swiping indicator features are necessary to be a constantly present onscreen.
Also, the gesture and swiping features constantly change or get added to new iOS/iPadOS updates pretty regularly.
These gesture/swiping bars are easy indicators to show even experienced users if these features have changed, moved or been added to new locations.
So, these indicator bars are not going to go away or be able to be toggled ON/OFF for quite some time by Apple.
Apple introduced a few new locations for these recently.
It is what it is.