I cannot be entirely sure about the cause as I have not been able to reproduce this situation subsequently, but based on the comparison of what I did before and do now, it seems the cause was the wrong dosage of agar per water, i.e. an excess of agar. Hoping this may help others.