Multiple classes.dex files (or more generally, DEX files) are created in Android applications when they exceed the method count limit of 65,535 methods per DEX file. This limit was introduced in earlier Android versions and was a key factor in the development of multi-DEX support. By default, Android build tools split the application's code into multiple DEX files to overcome this limitation.