Formula causing problems?

Am

Baby was on cow and Gate formula until just over a week ago, had terrible colic and real trouble pooping so switched to kendamil as I saw so many review about it and now she is pooping for England but seems to be really watery and runny and now has a terrible nappy rash that the dr has prescribed cream for as he thinks it's turned into thrush. Could this just be coincidence or can babies react to milk like this? (First time mum honestly no idea about things like this)