Such problems are usually caused by door or hood switches. While driving, do the door ajar indicator flashes intermittently?
Check all doors for proper alignment. Get inside vehicle and close all doors. Push at door panel nearest to the door switch and note if any makes the dome light come on, that would mean improper door adjustment, switch not being closed sufficiently and vibrations can trigger the alarm.