You intervene to do something positive, to help, to impose order on a chaotic situation, for example. If you interfere, you are influencing the situation negatively, preventing something (good, usually) from happening. In your examples, I would use interfere in the first, intervene in the second.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.