Yes you can become intolerant of insulin over time so it basically acts like water. You cant really avoid it but just know it happens and that you might need to switch insulin's again in some time.
You did nothing wrong and its just one of those things, don't stress.