When I record with flash on my phone the screen on my phone shows it flashing red and green and it sometimes loses focus. This does not happen when recording any other parts of the led light
Focusing on reflective surfaces is challenging, so it’s not unusual to see refocusing like this.
To me, the red and green during focusing look like it may be caused by longitudinal chromatic aberration. This is a color phenomenon common in lenses in front of, and behind the plane of focus. It is probably being removed by the camera software, but not instantly/consistently.
Turn the lights off, get the room as dark as possible, and point you phone camera at it.
Your phone camera can see IR lights as purple (apparently newer iPhone may have an IR filter).
If it’s a hidden camera AND it has night vision then you’ll see purple lights.