This happens with all kind of building pieces, in any place on the world. For example, if I build three foundations in a row, and expand them with ceilings, if I build 4 ceilings on one the middle foundation, and then i attach a ceiling on the third ceiling on either side, then tho the second ceiling, then to the first (now the ceiling is attached to the foundation) the third ceiling goes from 20 stability to 40, but i can’t attach the 4th ceiling there. I have to build ceiling somewhere else, and in some cases I have to build a different type of building to allow me to build the 4th ceiling.
Another way this happens is if placing a lot of foundations on top of each other, while building on a connected column of foundations as well. Sometimes one of the columns of foundations (not pillars) having 100 stability sais not enough stability.
If I wait for the server restart, it works like intended.