This could be the result of eating bones it could not digest or choclate, a serious internal infection, tumors or most seriously this could be a sign of PARVO. Go to the Vet!
It is possible that the dog has either parvovirus or distemper. The shaking is possibly due to a fever and the bloody stools are usually caused by some sort of infection.