There does appear to be some hostility to prayer in the public square, even when clearly not coercive.
The 9th Circuit was on better ground holding the pledge of allegiance unconstitutional; at least there is some compulsion to recite the pledge and its invocation of God.