Bitcoin held firm as the S&P 500 retreated, highlighting the cryptocurrency's resilience amid weakness in U.S. equities.