Avast might be temporarily expanding some archives and scanning their contents too, according to the files you are scanning and the relevant Avast settings.