Over the years I have had difficulties connecting Bluetooth devices to my iPads. That usually involves an Apple Bluetooth Keyboard, but sometimes headphones. I think iOS or iPadOS Bluetooth connectivity is a very real problem that happens more than we would like. This article lists all kinds of things you can do to get Bluetooth working on your iPhone or iPad. It is a pretty extensive progression of things to try if one fix does not work.