You have only 2 entries in the list. So, the loop runs only once since you are removing an entry.
ConcurrentModificationException will be thrown if a list is modified and again you try to do some operation on it. But before doing any operation on it, we are out of the loop hence no exception. Try adding another entry into list and run your program which will throw exception.