While the United States Supreme Court is designed to not respond to public opinion, it matters and is often taken into consideration when the court considers the timing of its decisions.
This Slate article wonders whether their timing was off on Citizens United and whether their public support might suffer for it.