It is not unusual for an iPad to become warm when being used - more so when using some types of iPad case. High screen brightness and/or CPU intensive Apps (such as graphics intensive games) will create more heat.
As described, the iPad’s thermal management is doing its job - in trying to protect your iPad, in particular the battery, from thermal damage. Quoting directly from Apple… If your iPhone, iPad, or iPod touch gets too hot or too cold - Apple Support
“If your device gets too warm
iOS and iPadOS devices have built-in protections to prevent overheating. If the interior temperature of your device exceeds the normal operating range, your device will protect its internal components by attempting to regulate its temperature. Here are some of the higher ambient-temperature conditions and activities to avoid, because they might cause your device to change performance and behavior:
- Avoid leaving your device in a car on a hot day.
- Avoid leaving your device in direct sunlight for an extended period of time.
- Avoid using certain features in hot conditions or direct sunlight for an extended period of time, such as GPS tracking or navigation in a car, playing a graphics-intensive game, or using augmented-reality apps.
If the interior temperature of your device exceeds the normal operating range, you might notice these changes:
- Charging, including wireless charging, slows or stops.
- The display dims or goes black.
- Cellular radios enter a low-power state. The signal might weaken during this time.
- The camera flash is temporarily disabled.
- Performance slows with graphics-intensive or augmented-reality apps or features.”
If your iPad is inside a fitted case, try removing the iPad from its case - as this will improve cooling.