Edit for clarity: Even if a woman has a restraining order against the abuser, the abuser will turn on music in the middle of the night, mess with the lights, turn the thermostat down etc. If the woman still lives with the abuser, smart devices (not necessarily Alexa) are used to monitoring comings and goings.
One person often sets up the devices and the other person has no understanding of how to turn these things off. Even more often: the harassed woman doesn't even realize what's happening is due to the man controlling smart devices— the harassed is "gaslighted" and thinks they're going crazy ("why does the temperature keep PLUMMETING?").