depending on the factory alarm its either:
volt drop/lift & tilt/doors & bonnet pin switches/interior ultrasonic s that will trigger the alarm.
the b-pillar switch disables the ultrasonics. for that key cycle.
if you have access to any diagnostics kit the last 5-10 alarm activation's are logged in the BCM for "false alarm diagnostics"
ie VCDS/Autel/Verus-D10
as
@Pauly says above check for critters, make sure all the doors & windows are fully closed and check that all the door locks are functioning properly.
this is where the
View attachment 25011 ultrasonic sensors are >