This incident sounds very similar to a comm. outage that occurred in May 2022.
Then, increased atmospheric dust caused a reduction in solar panel output. One night, battery capacity fell low enough that a controller chip was automatically powered off as a safety measure.
Consequently, Ingenuity's time-of-day clock get reset.
That led to a failure to communicate with Perseverance, when power levels came back to normal.
Why?