Basically, whenever you stop at the end of a word in Arabic, you don’t say the kasra/fatha/dhamna. But if you join the words, then you must say them. So when we say the Bismillah, it’s recited as one sentence without a stop, so after each word in the Bismillah you would have to say the kasra. Yes when you stop at Arrahim, you don’t say the Kasra because you are pausing before saying the following verse