This keeps happening, and there are several solutions (e.g., sell your stocks, update your recusal lists, publish the reasons behind your recusals, etc.) that will help make it stop.
Kagan says “it would be a good thing for the court” to adopt a code of conduct.
Though Justice Kagan told Congress in 2019 that Chief Justice Roberts was “studying the question” of whether to write a code of conduct applicable to SCOTUS, the Court has provided no updates since, so it’s critical that the legislative branch step in.