As observed and commented by others, all computers keep diagnostic and performance log information - this data being critical in analysing/diagnosing some hardware and software faults.
While this log data is automatically gathered to permit post-event analysis of faults and enable software fixes, you can choose whether or not anonymised analytics data is automatically (and securely) forwarded to Apple.
Settings > Privacy > Analytics & Improvements > Share iPad Analytics - set to OFF
Allowing data to be sent to Apple contributes to identification of issues that affect multiple users - ultimately benefiting all users; issues can be identified and fixed by way of software updates, perhaps before you have yourself suffered any issues. You can choose to not forward this data to Apple. If not forwarded, the data remains available for analysis should you ever need to call upon the help from Apple Support - who, in some situations, will use the log data to identify/pinpoint your issue.
Some other analytics data relates to security/privacy - and is used to generate iOS/iPadOS Privacy Reports. These reports are generated internally by your iPad - using data that is gathered while you are using your iPad. This data gathering/analysis can be disabled from settings - although doing so deprives you, the end user, from information that can be used to your benefit.
Settings > Privacy > App Privacy Report > Turn Off App Privacy Report