RC circuit question about current flow
Initially, the uncharged capacitor appears as a short circuit (zero Ohms) so is the lowest resistance path in the circuit, and takes all the available current.

As the capacitor charges, it effectively becomes an increasing resistance, so current is shared between the capacitor and any other paths that may be in parallel with it.