Let the sun shine!
Rabbits eat grass so most of what comes out is just digested grass, so not really harmful but if he is not well, take him to the vet to be check. i am sure it is not connected.