Stellar formation

An embedded protostar is faint in visible light but bright in the infrared. What is a likely explanation?