Why am I getting this "AppLifecycleEvent" crash?
The cause of your crashes is Avast AV software. Make sure you've installed a version that is compatible with your OS, or uninstall it completely (this may require running an uninstaller - contact Avast for details).
Application Scripts are, as the name suggests, scripts that are specific to a given application. The OS creates a folder for each application installed, regardless of whether it has any scripts or not.
From what I can read in your picture, the paths given are to /Library/Application Support, not Scripts, which is a different thing altogether.
That is the root level /Library folder, not the one in the user domain. That is where apps may install component files that are essential to their running.
I'd recommend just uninstalling Avast instead.