I'm not sure if any even vaguely normal fire would melt bricks (short of lave, etc). However, bricks will certainly explode if heated enough. Fun fact, lots of rocks too (especially sandstones) so be careful building your fire-pit! Thats why if you ever build or work with forges, high-fire pottery kilns, and other stuff that puts out a crap load of heat, you have to use special heat resistant bricks or you will have a very bad day :'''( I'm actually planning on building my own portable gas forge soon, and sourcing good (and inexpensive) firebrick is one of my main challenges.