Yeah, I considered that possibility. The first bottle was only about 2/3rds full so I attributed some of the foaming to that. The priming sugar should have been mixed properly, I boiled it and poured it into the bottling bucket after it cooled. Then I siphoned the beer on top of the sugar...