We cannot know. You have not explained what actually happened and what specifically you did when the app crashed nor have you provided any technical details like system information or the relevant crash info.
Sorry about this trouble. Could you please confirm which version it was? We have recently released an update for Illustrator 2021 (v 25.2.3). If you are not already on v25.2.3, then we recommend you to update to latest version.