Well try that on creative mode and put your gamemode equals survival and you will see the difference.
Yeah I know zombies can attack skeletons if they shoot accidentally, but that's not the case for creepers, you can go on creative mode and check this by yourself, the creeper will not explode unless you approach him. Otherwise, when pillagers shoot creepers, they will explode no matter how far you can be.
I found something very interesting. I have a house with two floors and villagers who go to the second floor lost their workstations because they want to go STRAIGHT to their POI coordinates, no matter Y coordinate is, instead of using the stairs (stairs are 10 blocks away from the balcony), I also faced that issue when villagers go behind a building and they want to go straight from its actual position to their workstations.