Some museums allow photography, some don't. There are at least a few reasons why they may prohibit photography. Flash photography can damage art and they've decided that too many "accidental" flashes happened (or could happen) so they restrict all photography. Museum exhibitions are curated.