A man who damaged his neighbour’s car by stamping on its exhaust pipe could not explain why he had done it when he appeared in court.