I think the issue is related to Windows Terminal. Not powershell. When running 'btop' in linux from an ssh in Windows Terminal it usually crashes within a few minutes. Especially if the (text) screen is very large. Not just drops the connection... the entire Terminal goes away. Putty just keeps on trucking... So that's why I think it's the ANSI processing in the terminal.
This behavior is repeatable in:
Windows 11 Version 23H2 (Build 22631.6199) (Windows 11 Enterprise)
Windows Terminal Version 1.23.12371.0
Btop version 1.2.13
Linux Red Hat Enterprise Linux release 8.10 (Ootpa)