A blister forms at a place where you have caused damage, as by a bad pinch or a burn. A lot of sudden changes took place there.
The walls of the tiny blood vessels close by became leaky. Some fluid leaked out of the blood to make the clear fluid that you see in most blisters. Sometimes the whole blood leaks out and collects to make a black-looking blister. Neither kind is any fun.