Thanks for your query.
At 6 months of age it is recommended to give fluids like coconut water,boiled pulses water.boiled rice water.and then slowly introduce semisolids.
Oil or ghee should not be used till 8 to 9 months of age.
Your baby has diarrhea
which is green with reddish tinge .I suggest you to get him examined by pediatrician
for further management.
In the meantime give oral rehydration solution sip by sip after each stool,give lactobaccilus for 2 to 3 days.
Wishing your baby good health.