Generally speaking, whenever a shadowhunter is near the gate the gate will appear to admit the petitioners. However, it does not open this time, making them think that something terrible has happened. Alec has to slice his hand and draw blood in order for the gate to appear and open.