Ok I know in people bright red blood is usually an internal hemorrhoid. Darker blood is scarrier. His intestines are most likely irritated due to the loose poop. If it were me I would give it a day or two and see if it resolves itself. We use to see this a lot in daycare if the dog had eaten something that had upset their tummies or had chewed something that didn't digest well.