Because of multiple reasons. First is that it's 4GB BEFORE formatting, after formatting it's just under 4. Second, BIOS will consume some memory in order to interface with the keyboard, mouse, etc.
Just because you have 4GB doesn't mean you can use every single byte of it. This is not a problem, it's perfectly normal.